package com.yiwyn.demo.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class MyTransactionEvent extends ApplicationEvent {

    private static final long serialVersionUID = 6829841024745232695L;
    private final String message;


    public MyTransactionEvent(Object source, String message) {
        super(source);
        this.message = message;
    }

}
